package com.johnnyyin.librockysocket;

/**
 * brief:
 * author: yinlijun
 * email: yinlijun2004 at gmail dot com
 * date: 2017/9/30.
 */

public class ThreadPoolTest {
    static {
        System.loadLibrary("rockysocket");
    }
    private ThreadPoolTest() {
    }

    public interface ThreadPoolTestListener {
        void onUnsolicited();
    }

    private ThreadPoolTestListener listener;
    public ThreadPoolTest(ThreadPoolTestListener listener) {
        this.listener = listener;
    }
    public void onUnsolicited() {
        this.listener.onUnsolicited();
    }
    public native String stringFromJNI();
}
